<div style="padding:20px 0;width:100%;">
    <div class="bodywrapper">
        <form id="frm_campaign_platform">
            <input type="hidden" name="user_id" value="{$current_user_id}" />
            <input type="hidden" name="campaign_id" value="{$campaign.campaign_id}" />
            <div id="summary_table" class="metrotable" cellspacing="0" cellpadding="0" border="0" >
                <div>
                    <ul class="up">
                        <li>你可以通过点击<span class="up_span1"></span>来设置是否投放"<span class="up_span2"></span>"表示不可投放</li>
                        <li>你只有投放淘宝站内的定向推广后才能投放淘宝站外的定向推广</li>
                    </ul>
                    <div class="bigBox">
                        <h3 class="h301">计算机设备:</h3>
                        <ul class="jisuanji">
                            <li class="zhannei">
                                <h5>淘宝站内</h5>
                                <div class="search">
                                    <p class="p1 same">
                                        <span>搜索推广：</span><span class="choose_btn active" data-active="pc_search_in">投放</span>
                                        <input type="checkbox" value="1" name="search_channels[]" checked="checked" style="display:none" />
                                    </p>
                                    <p class="p2 pc_nei same">
                                        <span>定向推广：</span>
                                        <span class="ok">不投放</span>
                                        <span data-active="pc_nonSearch_in" clickable="on" linked-silde=".pc_wai2 .change" <if condition="$nonsearch_channels.c1 eq 1">class="change active choose_btn" style="background: url(&quot;/Img/images/button_bg02.png&quot;);"<else/>class="change choose_btn"</if>>
                                        <span <if condition="$nonsearch_channels.c1 eq 1">style="left:26px;"</if>>
                                        </span>
                                        <input type="checkbox" value="<if condition="$nonsearch_channels.c1 eq 1">1</if> " name="nonsearch_channels[]" style="display:none" checked="checked" />
                                        </span>
                                        <span class="no">投放</span>
                                    </p>
                                </div>
                            </li>
                            <li class="zhanwai">
                                <h5 style="background:url(/Img/images/wenhao.png) no-repeat 285px center;">淘宝站外</h5>
                                <div class="search">
                                    <p class="p1 pc_wai1 same"><span>搜索推广：</span>
                                        <span class="bold">不投放</span>
                                        <span data-active="pc_search_out" clickable="on" <if condition="$search_channels.c2 eq 1">class="change active choose_btn" style="background: url(&quot;/Img/images/button_bg02.png&quot;);"<else/>class="change choose_btn"</if>>
                                        <span <if condition="$search_channels.c2 eq 1"> style="left:26px;"</if>></span>
                                        <input type="checkbox" value="<if condition="$search_channels.c2 eq 1">2</if> " name="search_channels[]" style="display:none" checked="checked"/>
                                        <!--<input type="checkbox" value="4" name="search_channels[]" style="display:none" checked="checked"/>-->
                                        </span>
                                        <span class="bold">投放</span>
                                    </p>
                                    <p class="p2 pc_wai2 same">
                                        <span>定向推广：</span>
                        <span class="add">
                            <span class="bold">不投放</span>
                            <span data-active="pc_nonSearch_out" clickable="off" <if condition="$nonsearch_channels.c2 eq 1">class="change active change2 choose_btn"       style="background: url(&quot;/Img/images/button_bg02.png&quot;);"<else/>class="change change2 choose_btn"</if>>
                            <span <if condition="$nonsearch_channels.c2 eq 1">style="left:26px;"</if>></span>
                                        <input type="checkbox" value="<if condition="$nonsearch_channels.c2 eq 1">2</if>" name="nonsearch_channels[]" style="display:none" checked="checked"/>
                                        </span>
                                        <span class="bold">投放</span>
                                        </span>

                                    </p>
                                    <p class="p3">投放价格=淘宝站内价格*站外折扣</p>
                                    <p class="p4">
                                        <span>站外折扣：</span>
                                        <input type="text" class="text amount4 outside" value="{$outside_discount}%" />
                                        <input type="hidden" value="{$outside_discount}" name="outside_discount"
                                               id="amount4" class="pc_D"/>

                                        <span class="pan"></span>
                                    </p>
                                    <div class="jindutiao bg">
                                        <span class="left bgcolor"></span>
                                        <button class="bt"><a href="javascript:viod(0);" style="width:14px;height:14px;display:block;margin-left:-7px;margin-top:-2px;"></a></button>
                                    </div>
                                    <div class="shuju">
                                        <span>1</span>
                                        <span>100</span>
                                        <span class="current">200</span>
                                    </div>
                                </div>

                            </li>
                        </ul>

                    </div>
                    <div class="bigBox">
                        <h3 class="h302"><img src="" alt="">移动设备:</h3>
                        <ul class="yidong">
                            <li class="zhannei">
                                <h5 style="background:url(/Img/images/wenhao.png) no-repeat 285px center;">淘宝站内</h5>
                                <div class="search">
                                    <p class="p2 same m_nei">
                                        <span>推广：</span>
                                        <span class="bold">不投放</span>
                                        <span data-active="wire_in" clickable="on" <if condition="$search_channels.c8 eq 1">class="change active choose_btn" style="background: url(&quot;/Img/images/button_bg02.png&quot;);"<else/>class="change choose_btn"</if>>
                                        <span <if condition="$search_channels.c8 eq 1">style="left:26px;"</if>>
                                        </span>
                                        <input type="checkbox" value="<if condition="$search_channels.c8 eq 1">8</if>" name="search_channels[]" style="display:none" checked="checked"/>
                                        </span>
                                        <span class="bold">投放</span>
                                    </p>
                                    <p class="p3">投放价格=计算机淘宝站内投放价格*移动折扣</p>
                                </div>
                            </li>
                            <li class="zhanwai">
                                <h5 style="background:url(/Img/images/wenhao.png) no-repeat 285px center;">淘宝站外</h5>
                                <div class="search">
                                    <p class="p2 same m_wai">
                                        <span>推广：</span>
                                        <span class="bold">不投放</span>
                                        <span data-active="wire_out" clickable="on" <if condition="$search_channels.c16 eq 1">class="change active choose_btn" style="background: url(&quot;/Img/images/button_bg02.png&quot;);"<else/>class="change choose_btn"</if>>
                                        <span <if condition="$search_channels.c16 eq 1">style="left:26px;"</if>>
                                        </span>
                                        <input type="checkbox" value="<if condition="$search_channels.c16 eq 1">16</if>" name="search_channels[]" style="display:none" checked="checked"/>
                                        </span>
                                        <span class="bold">投放</span>
                                    </p>
                                    <p class="p3">投放价格=计算机淘宝站内投放价格*站外折扣*移动折扣</p>
                                </div>
                            </li>
                        </ul>
                        <div class="footer">
                            <p class="p5">
                                <span>移动折扣：</span>
                                <input type="text" class="text1 amount4 mobile" value="{$mobile_discount}%" />
                                <input type="hidden" value="{$mobile_discount}" name="mobile_discount"
                                       id="amount4" class="mobile_D"/>

                                <span class="pan"></span>
                            </p>
                            <div class="jindutiao2 bg1">
                                <span class="left bgcolor1"></span>
                                <button class="bt1"><a href="javascript:void(0);" style="width:14px;height:14px;display:block;margin-left:-7px;margin-top:-2px;"></a></button>
                            </div>
                            <div class="shuju">
                                <span>1</span>
                                <span>200</span>
                                <span class="current">400</span>
                            </div>
                        </div>
                        <button class="saveBtn win-label"><a  href="#" id="savebtn" style="color:#fff;height:40px;display:block;line-height: 40px;width:98px;margin-left:-6px;">保存设置</a></button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
